package com.ansatsing.templateMethod;
//泡咖啡：1把水煮沸--》2用沸水冲泡咖啡--》3把咖啡倒进杯子---》4加糖和牛奶
public class Coffee extends RecipeTemplate {

	@Override
	void brew() {//2用沸水冲泡咖啡
		System.out.println("Dripping Coffee through filter");
	}

	@Override
	void addCondiments() {//4加糖和牛奶
		System.out.println("Adding Sugar and Milk");
	}

}
